﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_noticias.ascx.cs" Inherits="BoxScore.compartidas._noticias" %>


<asp:ListView ID="ListView1" runat="server" DataSourceID="RSSxmlSource" ItemPlaceholderID="PlHolder" >
    <LayoutTemplate>
        <asp:PlaceHolder ID="PlHolder" runat="server"></asp:PlaceHolder>
    </LayoutTemplate>
    
    <ItemTemplate>
        <ul>
        <li>
        
        <asp:HyperLink ID="myLink"
                     runat="server" Target="_blank"
                     NavigateUrl='<%# XPath("link") %>'>        
                     <%# XPath("title") %>
                     </asp:HyperLink>         
        
        </li>
        </ul>
                     
<%--                    <p> <%# XPath("description") %></p>--%>
    </ItemTemplate>    
    <ItemSeparatorTemplate>
        <hr />
    </ItemSeparatorTemplate>


</asp:ListView>

<asp:DataPager ID="DataPager1" runat="server" PagedControlID="ListView1" PageSize="10">
    <Fields>
        <asp:NextPreviousPagerField />
    </Fields>
</asp:DataPager>
<%--<asp:XmlDataSource 
    ID="RSSxmlSource"  
    XPath="rss/channel/item"
    runat="server"
    DataFile="http://lvbp.com/scripts/home/_rss/rss_notc.xml" >
</asp:XmlDataSource>--%>

<%--DataFile="http://mlb.mlb.com/partnerxml/gen/mlb/news/rss/mlb_es.xml">--%>
